package com.linkface.liveness.network;

import com.linkface.liveness.util.LFLog;

/**
 * Copyright (c) 2017-2018 LINKFACE Corporation. All rights reserved.
 */

public abstract class LFNetRequestCallback {
    private String TAG = LFNetRequestCallback.class.getSimpleName();

    public abstract void completed(String response);

    /**
     * @param httpStatusCode
     * @param error
     */
    public void failed(int httpStatusCode, String error) {
        String result = "Code" + httpStatusCode + ";error:" + error;
        LFLog.i(TAG, result);
    }
}